/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2016-2019 Skyatlas co. ltd

   
*/

#include "lib/tls.h"
#include "lib/tls_openssl.h"

Tls::Tls() { return; }

Tls::~Tls() { return; }

Tls* Tls::CreateNewTlsContext(Tls::TlsImplementationType type)
{
  switch (type) {
    case Tls::TlsImplementationType::kTlsOpenSsl:
      return new TlsOpenSsl();

    case Tls::TlsImplementationType::kTlsUnknown:
    default:
      return nullptr;
  }
}
